package org.jeecg.modules.youlgl.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.common.system.vo.LoginUser;
import org.jeecg.modules.youlgl.entity.HqYlgl;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.jeecg.modules.zhaojd.entity.HqZhaojd;

/**
 * @Description: 油料管理
 * @Author: jeecg-boot
 * @Date:   2020-06-16
 * @Version: V1.0
 */
public interface HqYlglMapper extends BaseMapper<HqYlgl> {
    IPage<HqYlgl> myApplyList(Page<HqYlgl> page, @Param("user") LoginUser user, @Param("hqYlgl") HqYlgl hqYlgl);

    IPage<HqYlgl> myTodoTasks(Page<HqYlgl> page, @Param("user")LoginUser user,@Param("hqYlgl") HqYlgl hqYlgl);

    IPage<HqYlgl> myDoneTasks(Page<HqYlgl> page, @Param("user")LoginUser user,@Param("hqYlgl") HqYlgl hqYlgl);

    List<HqYlgl> myApplyList2(@Param("user") LoginUser user, @Param("chepnu") String chepnu);
}
